home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Gfx / Edit / TSMorph / src / help.c < prev    next >
C/C++ Source or Header  |  1994-10-30  |  8KB  |  415 lines

  1. // TSMorph - Amiga Morphing program
  2. // Copyright (C) © 1993  Topicsave Limited
  3.  
  4. // This program is free software; you can redistribute it and/or modify
  5. // it under the terms of the GNU General Public License as published by
  6. // the Free Software Foundation; either version 2 of the License, or
  7. // any later version.
  8.  
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. // GNU General Public License for more details.
  13.  
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program; if not, write to the Free Software
  16. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. // mpaddock@cix.compulink.co.uk
  19.  
  20. /* String of AmigaGuide help nodes
  21.  * First is accidentally blank
  22.  */
  23. extern unsigned char *context[] = {
  24.     "",
  25.     "Main",
  26.     "Err-IFFBMHD",
  27.     "Err-IFFRaster",
  28.     "Err-IFFBODY",
  29.     "Err-IFFCLIP",
  30.     "Err-IFFILBM",
  31.     "Err-IFFFileS",
  32.     "Err-IFFTop",
  33.     "Err-IFFMemory",
  34.     "I-gad-Get_24_File_2",
  35.     "I-gad-Width",
  36.     "I-gad-Height",
  37.     "I-gad-Single",
  38.     "I-gad-Frames",
  39.     "I-gad-Start",
  40.     "I-gad-Name",
  41.     "I-gad-Get_Name",
  42.     "I-gad-Edit_Points",
  43.     "I-gad-Close",
  44.     "I-gad-Zoom",
  45.     "I-gad-Depth",
  46.     "I-men",
  47.     "I-men-P",
  48.     "men-Settings",
  49.     "I-men-P-Open",
  50.     "I-men-P-Save",
  51.     "I-men-P-Save_As",
  52.     "I-men-P-About",
  53.     "I-men-P-Quit",
  54.     "I-men-P-Edit_Points",
  55.     "P-KEEPSETTINGS",
  56.     "Con",
  57.     "EMode-One",
  58.     "EMode-Two",
  59.     "EMode-Relative",
  60.     "EMode-Add",
  61.     "EMode-Delete",
  62.     "EMode-Link",
  63.     "EMode-Unlink",
  64.     "EMode-Move",
  65.     "Con-gad-Close",
  66.     "Con-gad-Depth",
  67.     "CI-men",
  68.     "CI-men-P",
  69.     "CI-men-S",
  70.     "CI-men-P-Open",
  71.     "CI-men-P-Save",
  72.     "CI-men-P-Save_As",
  73.     "CI-men-P-About",
  74.     "CI-men-P-Exit_Points",
  75.     "CI-men-P-Quit",
  76.     "men-S-LoadS",
  77.     "CI-men-E-EMode",
  78.     "Edit",
  79.     "E-gad-Horiz",
  80.     "E-gad-Vert",
  81.     "E-gad-Up",
  82.     "E-gad-Down",
  83.     "E-gad-Left",
  84.     "E-gad-Right",
  85.     "E-gad-Close",
  86.     "E-gad-Zoom",
  87.     "E-gad-Depth",
  88.     "E-gad-Size",
  89.     "men-S-SaveS",
  90.     "men-S-SaveSAs",
  91.     "CI-men-E",
  92.     "CI-men-E-Grid",
  93.     "Req-Add_Grid",
  94.     "Req-Add_Grid-gad-X_Cells",
  95.     "Req-Add_Grid-gad-Y_Cells",
  96.     "Req-Add_Grid-gad-OK",
  97.     "Req-Add_Grid-gad-Cancel",
  98.     "Req-Add_Grid-gad-Close",
  99.     "Req-Add_Grid-gad-Depth",
  100.     "I-men-P-New",
  101.     "CI-men-P-New",
  102.     "Err-size",
  103.     "Err-OpenGrid",
  104.     "Err-Grid0",
  105.     "Err-MemoryPoints",
  106.     "Info",
  107.     "I-gad-File_One",
  108.     "I-gad-Get_File_One",
  109.     "I-gad-File_Two",
  110.     "I-gad-Get_File_Two",
  111.     "I-gad-24_File_1",
  112.     "I-gad-Get_24_File_1",
  113.     "I-gad-24_File_2",
  114.     "Err-OpenTSMorph",
  115.     "Err-SetupScreen",
  116.     "Err-Library",
  117.     "Err-FileReq",
  118.     "Err-WPort",
  119.     "Err-IDevice",
  120.     "Err-ISmall",
  121.     "Err-IDifferent",
  122.     "Err-ZRaster",
  123.     "Err-Menu",
  124.     "Err-OpenWindow",
  125.     "Err-MemFile",
  126.     "Err-AllocGadget",
  127.     "Err-AllocImage",
  128.     "Err-LoadImage",
  129.     "Err-AllocIFF",
  130.     "Err-AllocILBM",
  131.     "Err-GetDRI",
  132.     "Err-LockScreen",
  133.     "Err-FileFormat",
  134.     "Err-TooSmall",
  135.     "Err-Range",
  136.     "Err-MemPoints",
  137.     "Err-InvalidLink",
  138.     "Err-CloseFile",
  139.     "Err-OpenFile",
  140.     "Err-WriteFile",
  141.     "Err-4Points",
  142.     "Err-NotLinked",
  143.     "Err-LinkSelf",
  144.     "Err-Linked",
  145.     "Err-UnlinkSelf",
  146.     "Err-MemNewPoint",
  147.     "Req-Unsaved",
  148.     "Err-OldFormat",
  149.     "Con-gad-First",
  150.     "Con-gad-Previous",
  151.     "Con-gad-Goto",
  152.     "Con-gad-Next",
  153.     "Con-gad-Last",
  154.     "CI-men-E-Frame",
  155.     "CI-men-E-Frame-First",
  156.     "CI-men-E-Frame-Previous",
  157.     "CI-men-E-Frame-Goto",
  158.     "CI-men-E-Frame-Next",
  159.     "CI-men-E-Frame-Last",
  160.     "Err-OneFrame",
  161.     "Err-AllSize",
  162.     "I-men-P-Delete",
  163.     "Req-FrameNumber",
  164.     "P-CHANGEPALETTE",
  165.     "P-CREATEICONS",
  166.     "P-CREATEICONSP",
  167.     "P-OPENMODE",
  168.     "P-PUBSCREEN",
  169.     "P-ZOOM",
  170.     "P-CREATEICONSR",
  171.     "P-DEPTH",
  172.     "P-DX",
  173.     "P-DY",
  174.     "P-LOADSCRIPT",
  175.     "P-MODE",
  176.     "P-POSTSCRIPT",
  177.     "P-PRESCRIPT",
  178.     "P-PUBSCREENR",
  179.     "P-QUALITY",
  180.     "P-SAVEFORMAT",
  181.     "men-S-ResetD",
  182.     "men-S-LastS",
  183.     "men-S-Restore",
  184.     "Err-SaveS",
  185.     "Err-LoadS",
  186.     "Err-OpalVision",
  187.     "Err-AllocPlanes",
  188.     "Err-NoOpal",
  189.     "P-ANTIALIAS",
  190.     "Err-NoFile",
  191.     "P-HELP",
  192.     "I-gad-Help",
  193.     "P-PREVIEW",
  194.     "I-men-P-Preview",
  195.     "CI-men-P-Preview",
  196.     "Err-ARexx",
  197.     "P-CUSTOMMODE",
  198.     "P-CUSTOMDEPTH",
  199.     "Err-OScreen",
  200.     "Err-DrawI",
  201.     "Err-LockW",
  202.     "Err-SMode",
  203.     "P-INTEGER",
  204.     "Err-CScreen",
  205.     "CI-men-E-Triangulate",
  206. };
  207.  
  208. // Short help messages for help gadget
  209. // corresponding to help node
  210. extern unsigned char *ShortHelp[] = {
  211.     "",
  212.     "",
  213.     "Error - No BMHD chunk",
  214.     "Error - Allocating Raster",
  215.     "Error - No BODY chunk",
  216.     "Error - Opening Clipboard",
  217.     "Error - Not an ILBM",
  218.     "Error - Opening File",
  219.     "Error - Parsing",
  220.     "Error - No Memory",
  221.     "Request 2nd 24 bit file name",
  222.     "Width of images",
  223.     "Height of images",
  224.     "Type of Warp or Morph",
  225.     "Number of Frames",
  226.     "Start Frame number",
  227.     "Output file name",
  228.     "Request output file name",
  229.     "Edit control points",
  230.     "Quit TSMorph",
  231.     "Zoom window to title bar/help text",
  232.     "Depth arrange window",
  233.     "",
  234.     "",
  235.     "",
  236.     "",
  237.     "",
  238.     "",
  239.     "",
  240.     "",
  241.     "",
  242.     "",
  243.     "",
  244.     "Move point in One image",
  245.     "Move point in Both images",
  246.     "Move point relatively",
  247.     "Add a new point",
  248.     "Delete a point",
  249.     "Link two points",
  250.     "Unlink two points",
  251.     "Scroll image",
  252.     "Close image windows",
  253.     "Depth arrange window",
  254.     "",
  255.     "",
  256.     "",
  257.     "",
  258.     "",
  259.     "",
  260.     "",
  261.     "",
  262.     "",
  263.     "",
  264.     "",
  265.     "Edit points",
  266.     "Scroll image Horizontally",
  267.     "Scroll image Vertically",
  268.     "Scroll image Up",
  269.     "Scroll image Down",
  270.     "Scroll image Left",
  271.     "Scroll image Right",
  272.     "Close image windows",
  273.     "Zoom image window",
  274.     "Depth arrange window",
  275.     "Size image window",
  276.     "",
  277.     "",
  278.     "",
  279.     "",
  280.     "Add grid of points",
  281.     "Number of Horizontal cells",
  282.     "Number of Vertical cells",
  283.     "Add grid of points",
  284.     "Cancel adding grid",
  285.     "Cancel adding grid",
  286.     "Depth arrange window",
  287.     "",
  288.     "",
  289.     "Error - Different size Images",
  290.     "Error - Opening Grid Requester",
  291.     "Error - Invalid Grid",
  292.     "Error - No Memory",
  293.     "",
  294.     "First Workbench image",
  295.     "Request 1st Workbench file name",
  296.     "Second Workbench image",
  297.     "Request 2nd Workbench file name",
  298.     "First 24 bit image",
  299.     "Request 1st 24 bit file name",
  300.     "Second 24 bit image",
  301.     "Error - Open Window",
  302.     "Error - Setting up Screen",
  303.     "Error - Opening Library",
  304.     "Error - Allocating Filerequester",
  305.     "Error - Creating Port",
  306.     "Error - Opening input.device",
  307.     "Error - Images too Small",
  308.     "Error - Different size Images",
  309.     "Error - Creating Zoom Raster",
  310.     "Error - SetMenuStrip",
  311.     "Error - Opening Window",
  312.     "Error - No Memory",
  313.     "Error - Allocating Gadget",
  314.     "Error - Allocating Image",
  315.     "Error - Loading Image",
  316.     "Error - Allocating IFF",
  317.     "Error - Allocating ILBM",
  318.     "Error - GetScreenDrawInfo",
  319.     "Error - Locking Public Screen",
  320.     "Error - Invalid Input File",
  321.     "Error - Images too Small",
  322.     "Error - Point out of Range",
  323.     "Error - No Memory",
  324.     "Error - Invalid Input File",
  325.     "Error - Closing Input File",
  326.     "Error - Opening Input File",
  327.     "Error - Writing Output File",
  328.     "Error - Point linked to 4 points",
  329.     "Error - Points not linked",
  330.     "Error - Linking point to self",
  331.     "Error - Points already linked",
  332.     "Error - Unlinkg point from self",
  333.     "Error - No Memory",
  334.     "",
  335.     "Error - Old Input file format?",
  336.     "Goto First frame",
  337.     "Goto Previous frame",
  338.     "Goto Chosen frame",
  339.     "Goto Next frame",
  340.     "Goto Last frame",
  341.     "",
  342.     "",
  343.     "",
  344.     "",
  345.     "",
  346.     "",
  347.     "Error - Need at least 1 Frame",
  348.     "Error - Frames different sizes",
  349.     "",
  350.     "",
  351.     "",
  352.     "",
  353.     "",
  354.     "",
  355.     "Wait - Getting PUBSCREEN",
  356.     "",
  357.     "",
  358.     "Wait - Getting DEPTH",
  359.     "Wait - Getting DX",
  360.     "Wait - Getting DY",
  361.     "Wait - Getting LOADSCRIPT",
  362.     "",
  363.     "Wait - Getting POSTSCRIPT",
  364.     "Wait - Getting PRESCRIPT",
  365.     "Wait - Getting PUBSCREENR",
  366.     "Wait - Getting QUALITY",
  367.     "",
  368.     "",
  369.     "",
  370.     "",
  371.     "Error - Saving Settings",
  372.     "Error - Loading Settings",
  373.     "Error - Opalvision error",
  374.     "Error - No Memory",
  375.     "Error - No opal.library",
  376.     "",
  377.     "Error - File does not exist",
  378.     "",
  379.     "Displays help messages",
  380.     "Wait - Getting PREVIEW",
  381.     "",
  382.     "",
  383.     "Error - Running ARexx script",
  384.     "Wait - Getting CUSTOMMODE",
  385.     "Wait - Getting CUSTOMDEPTH",
  386.     "Error - Opening Screen",
  387.     "Error - Getting Draw Info",
  388.     "Error - Locking Workbench",
  389.     "Error - Invalid screen mode",
  390.     "",
  391.     "Error - Closing Screen",
  392.     "",
  393. };
  394.  
  395. // Short help messages when disabled
  396. extern unsigned char *disabled[] = {
  397.     "Wait - Zooming Images",
  398.     "Wait - Saving Settings",
  399.     "Wait - Opening Project",
  400.     "Wait - Saving Project",
  401.     "Wait - Deleting Project",
  402.     "Wait - Showing Version",
  403.     "Wait - Opening Image 1",
  404.     "Wait - Opening Image 2",
  405.     "Wait - Drawing points",
  406.     "Wait - Adding Grid",
  407.     "Wait - Unsaved Project",
  408.     "Wait - Previewing Frame",
  409.     "Wait - Loading gadgets/pointers",
  410.     "Wait - Creating new Project",
  411.     "Wait - Getting Frame Number",
  412.     "Wait - Going to another Frame",
  413.     "Wait - Triangulating",
  414. };
  415.